Added duplicate() function to allow data to be reinserted/"copied"