Use `encacheEntry` to copy keys.

See #233.