SVG has the following clipping and masking capabilities :
Clipping paths use any combination of path, text or basic
shapes to build a border for a 1 bit mask where everything inside the border
is visible and everything outside the border is masked
Masks are bags which contain graphical objects or other bags
elements which define a set of graphics to build a semi-transparent mask
to include foreign objects inside the background