Adding protected copy constructor and assignment operator