implemented duplicate selected rows
implemented the prototyope cell copying in footer.js