Don't error when `dup`ing a record with no PK
Merge pull request #16016 from sgrif/sg-dup

Don't error when `dup`ing a record with no PK