Cryptomatte

Further Reading
Cryptomatte in the Arnold User Guide for the full shader documentation.

Arnold supports cryptomatte,�an ID matte creation tool created by�Jonah Friedman. It creates ID mattes automatically with support for motion blur, transparency, and depth of field.

Note:

There is a limitation with the current cryptomatte implementation, where object names are expected to follow the MtoA naming convention. A workaround is to manually set the " crypto_asset " string attribute on the geometry you want to belong to the same asset ID, that works.