feature: add method arrayKeys with an additional support for ArrayObject

should be `static::copy` not `self::`