added clone, delete, replace block #165

Because I needed to clone, delete and replace some tables, I added those
functions.