Keywords: instances
Say I draw a 100x100 starfield on my map and want to make instances of it. How does one make instances? Anyone?
A simple search of "instance" brings up a library for just what you're asking. Please use the search function.

If you must to do it yourself, feel free to check that out to see what's involved, as well as the SwapMaps library by Lummox Jr.