ArrayObject now has a mergeSmart() method which produces the most logical merging. It works exactly the same as ConfigObject mergeWith() algorithm (close #8)
Updated PHPDoc.