Add copy constructor and operator=