introduction of the cloner library
fixes #22