Removed explicit isArray check in constructor to allow for array-likes