partial         void CopyExtraPropertiesToClone(Permission clone, bool includeLocalProperties);
 public Permission Clone(bool includeLocalProperties)
 {
     var c = new Permission
             {
                 Comment = Comment,
                 Id = Id,
                 Key = Key,
                 Name = Name,
                 Children = Children.Select(x=>x.Clone(includeLocalProperties)).ToList(),
             };
     CopyExtraPropertiesToClone(c, includeLocalProperties);
     return c;
 }