encrypt data

Is there any way to encrypt the application data on the phone? This is a standard android 4.0+ feature which can be found under security -> encryption -> encrypt phone. Unfortunatelly, not on the Mi-2. Is this because the kernel doesn't support it? Or can it be enabled somehow? Or is it available on custom roms?