partial         void CopyExtraPropertiesToClone(AutomatedTest clone, bool includeLocalProperties);
 public AutomatedTest Clone(bool includeLocalProperties)
 {
     var c = new AutomatedTest
             {
                 AssignedTo = AssignedTo,
                 AssignedToId = AssignedToId,
                 Configuration = Configuration,
                 CreatedAt = CreatedAt,
                 CreatedBy = CreatedBy,
                 CreatedById = CreatedById,
                 Id = Id,
                 LastUpdatedAt = LastUpdatedAt,
                 LastUpdatedBy = LastUpdatedBy,
                 LastUpdatedById = LastUpdatedById,
                 Name = Name,
                 OrderNumber = OrderNumber,
                 PackageId = PackageId,
                 PackageName = PackageName,
                 ProjectId = ProjectId,
                 ProjectName = ProjectName,
                 Type = Type,
                 Assignments = Assignments.Select(x=>x.Clone(includeLocalProperties)).ToList(),
             };
     CopyExtraPropertiesToClone(c, includeLocalProperties);
     return c;
 }