add clone() to tile.js