Updated to copy type when copying pcsc_identities