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

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