Though BIS did not provide a command to remove all magazines of every type, it can still be accomplished using forEach magazines. example:
{ player removeMagazine _x } forEach magazines player;
edit: removeAllMagazines player; now exists since Arma 3 v2.20.