Merge: add a settings in the preference to decide what is the preferred
input for auto-connection.
For all other nodes with multiple optionals inputs, the last optional
empty input will be chosen