added warning message if more then 5 objects are to be duplicated or pasted