feature: add method arrayKeys with an additional support for ArrayObject

not sure what this warning means...?