There's a "Matte" section listed on the top of Arnold shader's attributes that allow for this. However, any object using that shader will still be visible in reflections/refractions etc. The "Matte" option in the Arnold subsection of the object's shape tab does the same thing except of course on a per object basis. There is also a "visible in glossy" checkbox to omit the object from reflections/refractions.