Question about SamplerPlugin Example

What is the purpose of the readerFactory in the processor side when the data model stores the readerFactory as well . And all the cloning .