It's present in TOS 5.1.× builds, possibly earlier as well.
It's under Control Panel → Storage Pool; select the pool you'll be scrubbing & under the last icon (far right) on the 5 icon bar, data scrubbing is available.
It's present in TOS 5.1.× builds, possibly earlier as well.