For what I saw in the feature navigator this is a feature available only in IOS releases, the 4331 is a IOS-XE device so this feature is not avaible for your device, I know there is another feature for mirroring traffic it's called "Embedded Packet Capture" I don't know if this feature is available in your device but you can try, here is a link for reference: