Edit in JSFiddle

var data = [
 {fname: 'Roy', lname: 'Red'},
 {fname: 'Gary', lname: 'Green'},
 {fname: 'Bob', lname: 'Blue'},
 {fname: 'Roy', lname: 'Red'},
];


var dataUpd = R.pipe(
  R.uniq,
  //R.uniqBy(R.props(['fname', 'lname'])),
  //R.uniqBy(R.identity),
)(data);

alert( JSON.stringify(dataUpd) );
<script src="//cdn.jsdelivr.net/npm/ramda@latest/dist/ramda.min.js"></script>