Is there an addon that converts an array to instances?

Is there an addon that converts an array modifier to instances?

This would be a huge optimisation boon, particularly for complex meshes and many instances.