use Object::Util; my $cloned_object = $existing_object->$_clone(%extra_parameters);