Mutiple duplications

I want to create a graphic effect of a 90 x 90 grid of 5 pixel diameter circles. Is there a way I can create this with just one object duplicated through code?
Currently the file is slow due to the number of shapes.