Technology for obtaining samples of layered composite materials with metallic matrix