added type to return of clone, jsdocs working again