implemented deduplication of keys for BackedDict