I'm not sure any M42 idles perfectly, so as long as it doesn't surge and die I'm usually happy.
I was speaking with an elderly gentleman a few months ago about this same problem with an M42 I had just installed. His recommendation was to perform an "Italian Tune-up...just run the piss out of it!"
Well, I never need much encouragement to do that and went straight away to carry out his advice (If you're a Porschephile, you probably know the name Weldon Scrogham).
I used a can of Sea Foam in the last tank simply because I had a couple cans sitting around, but I don't know exactly how effective it is. I've also read using a can of water and slowly feeding it into the throttle body using the vacuum port works just as well, just feed it in slowly so you don't hydrolock the engine.