The evolution of economic resilience in cities: Re-invention versus replication