Unembed re-applied the clipping path read back from the PNG or TIFF it
had just written, with a path and with a folder. A clipping mask
released in the document came back, and a mask edited in the document
got a clip group of the file's original path nested inside it. The same
held for a distorted image.
Unembed now leaves a clipping mask released, edited or made in the
document as it is. A clip group of the file's own clipping path still
follows the file written, as before.