@Override
    public SpotLight clone() {
        SpotLight s = (SpotLight)super.clone();
        s.direction = direction.clone();
        s.position = position.clone();
        return s;
    }
for internal use only
@return the cosines of the inner and outer angle packed in a float
jme3-core/src/main/java/com/jme3/light/SpotLight.java