A mask can be closed gesturally or in the Mask tab.
The mask is completed once it is a closed shape. The Closed button is enabled.
A spline connects the last point in the mask to the first point.