public static DirectionalLightShadowFilter cloneDirectionalLightShadowFilter(AssetManager assetManager, DirectionalLightShadowFilter filter){
        DirectionalLightShadowFilter clone = new DirectionalLightShadowFilter(assetManager, 512, 3);
        clone.setLight(filter.getLight());
        clone.setLambda(filter.getLambda());
        clone.setShadowIntensity(filter.getShadowIntensity());
        clone.setEdgeFilteringMode(filter.getEdgeFilteringMode());
//        clone.setEnabled(filter.isEnabled());
        return clone;
    }
A private constructor to inhibit instantiation of this class.
jme3-vr/src/main/java/com/jme3/post/FilterUtil.java