Fixing the clone method