Can i restore a 6.1.4 iCloud backup to jailbroken iPhone 5 with iOS 6.1.2 w/o losing the jailbreak?

I am considering going back to iPhone 5. I have a chance to buy an i5 with jailbroken 6.1.2 on it. If I get this phone, and restore form iCloud from a previous 6.1.4 i5 that I had, will it mess up the jailbreak on the phone?
if you restore from iCloud the phone will be wiped and the restore data put on the phone. You will lose your jailbreak.
The only way to restore from iCloud is to erase all contents and settings which will do horrible things.

If you have an iTunes backup you could just restore from that. That does not affect the software or jailbreak.

Another option would be semi-restore, as that would preserve your jailbreak. However I cannot promise the phone would let you restore from the 6.1.4 backup.

Original thread: https://forums.imore.com/threads/can-i-restore-a-6-1-4-icloud-backup-to-jailbroken-iphone-5-with-ios-6-1-2-w-o-losing-the-jailbreak.258676/