added a function to clone stuff :)