Why does the Datastore Bug Cause Incorrect Mapping and Selection Corruption in Workflow Duplication?

Posted thread to Discourse: What is the Bug in Datastore Related to Workflow Duplication and How to Work Around It?