uniqueCombinationsDoc function

Helper for consistent documentation of uniqueCombinations.