update README and add clone function