Implement clipping masks