The Auto Matte node accepts a front clip as input, which it uses to generate a high-contrast matte. The Auto Matte node menu is similar to the Auto Matte command in the Processing menu.
Image courtesy of Optimus
See Using the Auto Matte Command.