added option to copy on select