In a deep pot or saucepan, add your butter and melt it over low heat. Once it has melted, add the sweetener, heavy cream, and vanilla extract, if using it, and bring it to a simmer.
Once it begins to simmer, stir it regularly until it begins to bubble. Use a candy thermometer to check the temperature and once it hits 145C/290F, remove it from the heat.