Paint Edit > Layer Operation > New Mask Layer

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