Implement clipping layers