Create Scene GameObjects from component in Inspector

So, i want to have a script attached to a gameobject, this script should have a customizable array of gameobjects which i can set on edit. when this array index increases, a new gameobject should show up in the scene. Any idea if this is possible and/or how to do it?
Thanks !

in code you have to declare a public variable

public GameObject[] objects;

and you have to create a method that refresh the elements in the screen with a simple for instruction. Good Luck