Added a function to clone an interaction.