Fixed bug when inheriting properties for objects with multiple copies