Add R.filterObj

We monkey patched this method and have used it many times.