Fix InstructionResolver add Some utility class for deep copy and noncopy classes