Implemented clone to retry a job.