clone the opts object in the persistable module