Fixes objects sharing properties between class instances