Added possibility to make a copy of the grid

Added an easy way to clone a grid.

It's not needed to know the width, height, tilewidth and tileheight to clone.