Protect against iterating over custom/inherited array members such as methods from prototype/decorating.