Clone method added
Added tests for clone method