how can I replicate working of Multi Label Binarizer from sklearn package in R?
One way to do this is to convert the source code from Python to R - see line 289 here.

You could also check for functionality in existing R packages - for instance, mldr, mlr or caret packages.