When spawning a resource from an accession, clear the IDs of any rights statement to avoid integrity constraint issues.
Merge pull request #299 from hudmol/43824713-resource-spawning-with-rights-bugfix

When spawning a resource from an accession, clear the IDs of any rights ...