Clone-and-hack coding