Safely clone node's fs.Stats instances without losing their class methods