Added deepCopy() function and am now calling from set().

Can you make these spaces.