fix clone method

the clone method was wrong implemented , I fix it with one-line editing.