Use Array instead of Struct for key in deduplication cache.