partial         void CopyExtraPropertiesToClone(BackgroundTask clone, bool includeLocalProperties);
 public BackgroundTask Clone(bool includeLocalProperties)
 {
     var c = new BackgroundTask
             {
                 Complete = Complete,
                 Elapsed = Elapsed,
                 Error = Error,
                 FinishedAt = FinishedAt,
                 Id = Id,
                 Message = Message,
                 ProcessedElements = ProcessedElements,
                 ProgressInPercent = ProgressInPercent,
                 StartedAt = StartedAt,
                 TotalElements = TotalElements,
             };
     CopyExtraPropertiesToClone(c, includeLocalProperties);
     return c;
 }