implemented cloning of languages