Added clone to perlin