Paint Edit > Layer Operation > New Invisibility Mask Layer
 
 
 

Creates an invisibility mask layer (previously called stencil).

The layer appears in the bottom section of the Canvas Layer Editor.