Added copy constructor and assignment operator to proto model.