Add support for clipping images.