How to quickly copy (duplicate) a contract