@Override
    public LineSegment clone() {
        try {
            LineSegment segment = (LineSegment) super.clone();
            segment.direction = direction.clone();
            segment.origin = origin.clone();
            return segment;
        } catch (CloneNotSupportedException e) {
            throw new AssertionError();
        }
    }
Create a copy of this segment.

@return a new instance, equivalent to this one
jme3-core/src/main/java/com/jme3/math/LineSegment.java