This is a new implementation of the mask extract operator, different from the one in the sculpt branch.
It can extract the paint mask creating a boundary loop in the geometry, making it ready for adding a subdivision surface modifier. After experimenting with edit mode operators I found that this combination of boundary vertices and internal vertices smoothing works fine in most cases.