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