Effectively deduplicates the input lists.

This step doesn’t expect any configuration.