Magnetic single-electron transistor as a tunable model system for Kondo-destroying quantum criticality