Fix a swift compile error in the object replicator. Swift doesn't like when you set something to itself.
Fix a swift compile error in the object replicator. Swift doesn't like when you set something to itself.

jlhughes/foam,jlhughes/foam,jlhughes/foam,foam-framework/foam,foam-framework/foam,foam-framework/foam,jlhughes/foam,foam-framework/foam,foam-framework/foam