add option to set a name on the clone function