Use generic Shape#clip() method.