Implement NodeCollection for on-demand wrapping
Remove duplicates from multivalue arrays