Autoclaving is fine. Pick the hottest non-damaging temperature.
The plan in some places is to put a mask in a paper bag, write the date on it, and leave it in a warm place for two weeks. This does require that every worker have two weeks worth of masks, plus spares to replace masks that get really splattered.