added clone functionnality