Arrays::flatten - possibility to preserve keys

(In case of duplicate keys, last one wins, same as with native php functions, e.g. array_flip or array_merge)