def copy(self):
        clone = copy.copy(self)
        clone.results = self.results
        clone.revert_results = self.revert_results
        if self.meta:
            clone.meta = self.meta.copy()
        if self.version:
            clone.version = copy.copy(self.version)
        return clone
Copies this task detail.
dataset/ETHPy150Open openstack/taskflow/taskflow/persistence/models.py/TaskDetail.copy