@Override
    public void cloneFields(final Cloner cloner, final Object original) {
        light = cloner.clone(light);
        init((int) shadowMapSize);
        super.cloneFields(cloner, original);
    }
Sets the light to use to cast shadows

@param light a SpotLight
jme3-core/src/main/java/com/jme3/shadow/SpotLightShadowRenderer.java