Text this: Stabilization of ion beam generation in a diode with self-magnetic insulation in double-pulse mode