Add copy constructor for version class.