@Ignore
@Test public void testOverflowClone() {

    StringBuilder builder = new StringBuilder();
    for (int i = 0; i < 100000; i++) {
        builder.insert(0, "<i>");
        builder.append("</i>");
    }
    Document doc = Jsoup.parse(builder.toString());
    doc.clone();
}