partial         void CopyExtraPropertiesToClone(Scope clone, bool includeLocalProperties);
 public Scope Clone(bool includeLocalProperties)
 {
     var c = new Scope
             {
                 Id = Id,
                 Name = Name,
                 Type = Type,
             };
     CopyExtraPropertiesToClone(c, includeLocalProperties);
     return c;
 }