Added template clone/duplicate option

Please review my code