public TaskModel copy() {
        TaskModel copy = new TaskModel();
        BeanUtils.copyProperties(this, copy);
        return copy;
    }
@return a copy of the task instance
core/src/main/java/com/netflix/conductor/model/TaskModel.java