add stencil based mask object