Draft & Published versions

Does anyone know of a use-case where you can edit a "published version" of an application (or something else), and it duplicates that version in a "Draft version". Once you click save or publish on the draft version, both files merge and you get one version?

If someone can point me to a similar type of interaction I'd highly appreciate it.

Thanks!