Hello,
when slug is empty, the post_name is re-calculated by WordPress based on the new title…
when slug is checked, the post_name is exact copy. But could it be original post_name PLUS suffix “-dup”? Explanation – post_names should never be the same, because URL should never be the same.