Adds copy constructor