/// <summary>
        /// Copies the properties of the job details to the specified target object.
        /// </summary>
        /// <remarks>
        /// This method may be used to simplify implementing <see cref="Clone" /> in subclasses.
        /// </remarks>
        /// <param name="target">The target</param>
        protected virtual void CopyTo(JobDetails target)
        {
            target.JobSpec  = jobSpec.Clone();
            target.jobState = jobState;
            target.nextTriggerFireTimeUtc      = nextTriggerFireTimeUtc;
            target.nextTriggerMisfireThreshold = nextTriggerMisfireThreshold;

            if (lastJobExecutionDetails != null)
            {
                target.lastJobExecutionDetails = lastJobExecutionDetails.Clone();
            }
            else
            {
                target.lastJobExecutionDetails = null;
            }
        }