Derive clone() method using the deriving-attribute