This function is still not available
The only one trick you can do is:
click on a mask layer;
select all;
paste to a new layer;
make a selection from visible pixels (in the layer panel options - "Selection");
invert selection;
create a new mask from the selection