copier for objects with equivalent get/set combination