Equity may decree in cases of fraud, trust, or contract, although property not within the jurisdiction may be affected by the decree.