public Task deepCopy() {
        Task deepCopy = copy();
        deepCopy.setStartTime(startTime);
        deepCopy.setScheduledTime(scheduledTime);
        deepCopy.setEndTime(endTime);
        deepCopy.setWorkerId(workerId);
        deepCopy.setReasonForIncompletion(reasonForIncompletion);
        deepCopy.setSeq(seq);

        return deepCopy;
    }
@return a deep copy of the task instance To be used inside copy Workflow method to provide a
    valid deep copied object. Note: This does not copy the following fields:
    <ul>
      <li>retried
      <li>updateTime
      <li>retriedTaskId
    </ul>
common/src/main/java/com/netflix/conductor/common/metadata/tasks/Task.java