[Demonstration 1]

[Buggy Method]
@SuppressWarnings("unchecked")
public C where(@NonNull Function1<C, C> block) {
    return block.apply((C) clone());
}

[Buggy Hunk]
return block.apply((C) clone());

[Patch]
return where(block.apply(emptyClone()));