clone node method added