partial         void CopyExtraPropertiesToClone(RelationshipType clone, bool includeLocalProperties);
 public RelationshipType Clone(bool includeLocalProperties)
 {
     var c = new RelationshipType
             {
                 CanCreateRelationshipsOfThisType = CanCreateRelationshipsOfThisType,
                 CanDeleteRelationshipsOfThisType = CanDeleteRelationshipsOfThisType,
                 CanEditRelationshipsOfThisType = CanEditRelationshipsOfThisType,
                 DestinationEntityType = DestinationEntityType,
                 DestinationToSourceLabel = DestinationToSourceLabel,
                 Key = Key,
                 Name = Name,
                 OrganisationId = OrganisationId,
                 SourceEntityType = SourceEntityType,
                 SourceToDestinationLabel = SourceToDestinationLabel,
                 AllowableDirections = AllowableDirections.Select(x=>x.Clone(includeLocalProperties)).ToList(),
             };
     CopyExtraPropertiesToClone(c, includeLocalProperties);
     return c;
 }