src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java
@Override
    public void setClip(Shape shape) {
        // null is handled fine here...
        this.clip = this.transform.createTransformedShape(shape);
        this.clipRef = null;
    }
@Override
    public void setClip(Shape shape) {
        // null is handled fine here...
        this.clip = this.transform.createTransformedShape(shape);
        this.clipRef = null;
    }
Sets the user clipping region.

@param shape  the new user clipping region ({@code null} permitted).

@see #getClip()