High performance heterogeneous magnesium-based nanocomposite