Simplifying with component/clone, closes #1.
Adding tests.
Release 1.0.0