Why would you ever want to find a duplicate of Williamsburg? That being said, the Haight and SoMa are sort of like Williamsburg, the Village, etc. People are generally friendlier and a bit more relaxed. Views are nicer. Rent for humans is generally cheaper than equivalent neighborhoods in NYC if you’re willing to just rent a room. For an apartment, it’s mostly the same as NY. San Francisco is a pricey city!