Support for CreateCopy/CreateMutableCopy for ObjC objects