createIfMissing

Creates a restore credential for the current signed-in user unless this device already holds one for them.

Every create registers a new passkey on the user's account, so this skips users who already hold this device's restore credential, from create or from signing in with it, until clear removes it. It also skips instances where passkeys are not a first factor, because the restore credential could not sign anyone in there, and devices where this install cannot record the restore credential it created.