/// <summary>
 /// Clones the instance of <see cref="ISegment"/>.
 /// </summary>
 /// <param name="data">The document.</param>
 /// <returns><see cref="Segment"/></returns>
 public static Segment Clone(this ISegment data)
 {
     return(data?.GetClone(CloneInitializers.Publications) as Segment);
 }