Render each object while making all others matte objects with zero alpha contribution

This seems like it should be a fairly straight forward script because I've seen several scripts that are almost there and it might exist, but I haven't found it. Basically, I'm looking for a script that would automate the rendering of every object in a scene in to a separate image. I'd like the script to isolate each object in the scene by changing the vray properties of all other objects to "matte object" and alpha contribution of "-1.0". Then, it would change it back and move on to the next object until it has rendered every object in the scene to its own targa or exr.

It seems like this could be some variant of the "RenderMask" script by Ivan Tepavicharov. Maybe?

Thanks!