Clone from couchDB river