Since the butter is almost pure oil, it can be used for frying (like grapeseed oil). It will not scorch and can be used at very high temperatures.
Your clarified butter and ghee can be kept for several months refrigerated and a few weeks at room temperature.