added clone_statement to sql