Copy of object also changes its properties when the original object it tweaked