Add an overloaded version of `ObjectUtils.addObjectToArray` that allows inserts at a specific position. Closes gh-28415