Abilty to remove key during merge

Abilty to remove key using ArrayUtils::merge
The `instanceof` check is the least impacting here