Magic reactions transform nanoclusters