In the run up to the smoking ban in New Zealand, prisoners are being given carrot sticks to inspire them to quit the habit altogether.

The idea of carrot sticks is because it is healthier to consume carrots rather than chocolates and when smokers have something in their mouths, it helps keep their minds from being drawn to smoking.
Source-Medindia