Need a smoke fix – are e-cigs allowed in-flight?

As a non-smoker I’d never heard of e-cigs, but apparently these devices form a similar function to nicotine patches to assist smokers in quitting.  However unlike patches they have an outward appearance of a cigarette.  Are e-cigs allowed in-flight?