Adds a <g> (group) child element to the <mask> element.
<g>
<mask>
A lambda to configure the <g> element.