Also deduplicate schema cache data when using the init_with interface
#36529

casperisfine wants to merge Shopify:schema-cache-deduplication-init-with into rails:master

We do not currently have an analysis of these two commits