Matching Criteria Window
The Matching Criteria window lets you select the criteria for matching alternate clips. This lets you refine the list of available matching clips in the Alternate Takes pop-up menu and Clip Right-click Matches submenu.
Matching Criteria window

Matching Criteria affects MIDI as well as audio clips.