If you visit to topic that post comes from, there is a clipping path that can go on other elements, but it is not yet well supported.
The svg will have wider support.