Out-of-plane magnetic patterning based on indentation-induced nanocrystallization of a metallic glass.