Ensure `duplicate_of` isn't changed during create or update

If the `duplicate_of` value is set during create, or changed during an update, Need API returns an error.