Added function before and after cloning item.
Merge pull request #5 from sairexes/master

Added function before and after cloning item.