clone

open override fun clone(): IndexInput

{@inheritDoc}

Warning: Lucene never closes cloned IndexInputs, it will only call .close on the original object.

If you access the cloned IndexInput after closing the original object, any readXXX * methods will throw AlreadyClosedException.

This method is NOT thread safe, so if the current IndexInput is being used by one thread while clone is called by another, disaster could strike.