libcore: make iterator adaptors `Clone`able