def METHOD_NAME(self):
    inst = type(self)(
        self.data_dir,
        self.pragmas,
        options=self.options,
        oidallocator=self.oidallocator.METHOD_NAME(),
        locker=self.locker,
        mover=self.mover,
        connmanager=self.connmanager,
    )
    return inst