clone method updated