5.5.6
Duplicating a module with unsaved changes could corrupt the copy's UUID. Pending edits were carried over by copying the raw _changes files, which include the original's UUID. Saving the copy then published that UUID, leaving two modules with the same identity.
Pending edits are now carried through Kirby's Version API and the copy keeps its own UUID. Duplicating still brings unsaved changes along, and the copy no longer inherits the original's lock.