Base.copy

Tuple{MEDYAN.Segment}

Shallow copy, https://stackoverflow.com/questions/51956958/how-to-copy-a-struct-in-julia