support Add, AddUnique, and Remove operations on arrays