added clone, delete, replace block

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