This technique is used in a lot of metallurgy - steel for example is a mix of iron and carbon, carefully heated and cooled to cause a precise mix of different combinations of iron and steel (crystal structures) in the final product which gives it a desired mix of hardness and toughness.