Move the implementation of the clone method for these classes to