Having an array and a potential new array element, check if the element is in the array, if not append to array.
An potential array element, possibly a DomItem
An array where an element may be appended.
Having an array and a potential new array element, check if the element is in the array, if not append to array.