partial void CopyExtraPropertiesToClone(Set clone, bool includeLocalProperties);
public Set Clone(bool includeLocalProperties) { var c = new Set { id = id, name = name, ownerId = ownerId, sortOrder = sortOrder, text = text, value = value, valueType = valueType, }; CopyExtraPropertiesToClone(c, includeLocalProperties); return c; }