added basic clone generation
added Clone support